import 'package:bookshelf/generated/json/base/json_convert_content.dart';
import 'package:bookshelf/entity/operate_reuqest_entity.dart';

OperateReuqestEntity $OperateReuqestEntityFromJson(Map<String, dynamic> json) {
	final OperateReuqestEntity operateReuqestEntity = OperateReuqestEntity();
	final String? category = jsonConvert.convert<String>(json['category']);
	if (category != null) {
		operateReuqestEntity.category = category;
	}
	final String? rfid = jsonConvert.convert<String>(json['rfid']);
	if (rfid != null) {
		operateReuqestEntity.rfid = rfid;
	}
	final String? place = jsonConvert.convert<String>(json['place']);
	if (place != null) {
		operateReuqestEntity.place = place;
	}
	return operateReuqestEntity;
}

Map<String, dynamic> $OperateReuqestEntityToJson(OperateReuqestEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['category'] = entity.category;
	data['rfid'] = entity.rfid;
	data['place'] = entity.place;
	return data;
}